const requireEx=require('yi-require');
const $ = requireEx('yi-schema');

module.exports = {
    body: $.object({
        cartIds:$.array().items($.mongoid()).required().description('购物车ID'),
        couponIds:$.array().items($.mongoid()).description('优惠券ID'),
        addressId:$.mongoid().description('收货地址ID'),
        userRemark:$.string().description('订单留言')
    })
};